adding the mer scripts