Fixed run button, added file logging