Added progess print and the log is now written for both contaminants and non-contaminants