Setting up everything for envs