adjust local environment