updated environtment stuff