Now sets the env_dir so it can be used by any module extending the parent class