modified script.sh to include output folder. example only