introduced local environment flag