Foreman compatibility with 1.4+
Merge pull request #5 from eLobato/master

Thanks.