making sure the env var is passed to the schedule file