check for hostname in prompt