Fixed issue where version parameter was not evaluated correctly

Signed-off-by: Patrick Van Brussel <patrick@inuits.eu>
Enhance params with case switch

Signed-off-by: Christophe Vanlancker <christophe.vanlancker@inuits.eu>
Merge pull request #11 from carroarmato0/master

Fixed issue where version parameter was not evaluated correctly and some love for ancient Centos versions