Added option to change the extension. Also refactored the config for the min plugin to have its own child object in the config.