For convenience, generate output if it does not exist.
Test with null --define-var and if