renamed env_types to not be capitalised