Corrected behaviour of setup.sh