Renamed 'fi' statements to 'end'