script generation chroot