added publishing of results back to foreman