Add initscript export support to foreman