Add license header to getscriptdoc.py
More sanity checking in the rotor code