change addSlidesFromTemplate signature in ImageScriptService