Updated offline utility to allow for selection of the type of operation.