edit raw files to be movement corrected