made it easier to switch from localhost to external