fix(scheduler): send environment to the process

fixes up an issue where the config vars were not being sent to the process.