added pyc cleanup mechanism