move settings to environ