Factored out all chroot commands