Setup of environment