Move production envvar loading into pre-task.