extract local / prod config out of the code