fixing an issue with referring to an environment variable that was breaking one-shot setups