add support for foreman export + better chroot process within container