updates usage to include dynamic env config