add self destruct code to Rakefile