tidies up the relations between equal-* scripts