added support for the max and unique arguments to utils-submit