updating configuration to run via localhost