[COOK-3839] RHEL Support

Merged changes from pull request #14 and #15, since both had missing bits. Please test!