Fixed some benchmark scripts.