- removed hardcoded check for localhost.