add script name to rows affected log