edited setup.sh to include auto-creation of output directory