added nmap and modified error message