Add support for v1.2.1 and make script work on CentOS.
Merge pull request #1 from qraynaud/master

Add support for v1.2.1 and make script work on CentOS.