chmod +x apply.sh

apply.sh should be executable