made setup.sh more functional