Properly config envs