Setting up the environment