fix spelling issue and update script