changed runProgram to run main using a relative path