python monitorig scripts