add copying of logs