working version for create-jail-and-chroot.sh that works on my PC