The forth script is the second scan. Please refer to it's comments. This is I beileve the nearest to the best conservative cleaning. After this we may lose data which we are not sure if are true data or noise. It can be improved but it might not worth the effort.