Add option to choose between module and plugin operation