modified exec.sh