Parameters are now also taken into account in udg creation.