added ids to script output