Using elsif when appropriate for version checking