modified wp-config.php to add local and remote logic