Adding chroot code