Formatting improvement.

* Instead of format, concat strings.
* Standardize to using splits instead of array for cmds.