Sorted out log files etc