added configuration options for select2 integration