In order for scriptupload.py to succesfully upload the script, it currently waits for 0.1 seconds after putting the script into the NetworkTable. This should work, but might be unreliable.
Instead, we should investigate whether calling NetworkTables.waitForEntryListenerQueue(None) can be used instead. It seems to be intended for this purpose.