corrections in script
template corrections