Added fix for ubuntu shell having trouble with double [[ in init.sh.