added different configs for local and remote servers;