typo fixes for porting scripts