modifying anis_maths files