adapt cob_script_server direct dirve and action handle code to sunflower (unfinished)