Refactored the script to work with older version of python runtime. el5, el6, sles11
Merge branch 'master' of https://github.com/vpejovski/automation