Changed the way looped checks work in start.sh