a simple scan domain script with python