Set up enviroments