made it build. Also writes a small log file. What is the better way is currently unknown