Set local environment