Fixes minor bugs in start.sh