Added a line to display an allert if another value than 'combine' and 'split' is specified for the argument 'type'.