rmove outer for loop in run()

Fix the bug about Bug 857037 - Remove handling of multiple binaries from automation scripts.