really, really fixing #105. I tested it this time. It works. I promise. And it deletes stuff instead of echo'ing debug blahblah this time