Add support for foreman