Added $form option to disable options function