(puzzle script provided by Davey Erwin)