Adds override functionality to class capacity script.