Introduces a intermediate derivation that can be imported into the report derivation, which contains a string cmd that expands the fig variable as needed.