How did you modify it to control the extra servos?
You don't need to modify anything to control 18 servos with the mega, the mega supports up to 48 servos with the standard Servo library.
The changes vinceherman made were to provide configuration to reverse the servo direction and to trim the position of the servo.