make remove_spam.py work (albeit cludgy)