More documentation for pilot struct and sd_script functions.