script_run() tries to pick group by IDs and Data_Type