@adamcrews
Refactor to allow logfile to work properly
11702c5