Setting up enviroment