changing servername to localhost