Updated application runner to return application output as list of lines, not single line