typo fixing in script fragments