set up enviroments