Changed Application Code to use ToolRunner