Setup the environment