Set up basic enviromental variables