busted script in gallery page