update scripts to use --mark option