ENH: support setting group for save_script_to_datastore()