Update keepClean.py

updated routines