Updates to allow the module to function correctly on centos