Add debug to sid, fix args.