setting up the local environment