changed the loading of the working env to the db