super-automagic chroot script