Adding data prep code for SAFP and copper