Use Bash

chown /opt/scripts from chroot
Use Bash when running scripts not sh