update configs to use env varibles