update script; fix typo