Fixed serious bug in init.sh