swear I actually tested it this time

There was a trailing quotation mark that screwed up the gallery-gen script.  It's good now