Set enviroments.