fix template if scripts isn't present