add foreman support