add a script to run the workflow; add idlist