python script for site tracking