output environment in base controller