a simple scan domain script