Added new runner function to simplify executing external programs
Started using the runner everyehere to clean up code