Convert else if to elsif