add chroot routines