changes in marta_prep.r