Updates to env loading and requirements.