Setting up enviornment