Updated ex definition for proper branch creation