update template
check line length of the generated scripts