Graveyard purge script

Courtesy of Saya