set up local environment