abstracted env reload.