fix some derpage caused by generic-izing the scripts