Update setup.sh

Safe checking if statements