Centos

For some reason I can't push these changes to centos5 so I had to create a new branch and make a pull request =/