Setting up the enviroment