change order of properties and env variables priority