making it check localhost