added check if whois is by script or by user