Moved env variable load time