wait until ship:unpacked. runPath("0:/scripts/basic.ks"). //if addons:RT:hasKSCConnection(ship) { //} else { // print "No connection to the KSC". //}