Fixed some typos

Script now runs.