updated init.sh check for already ran