Refactored mojo to work with new config layout, changed params to just
use an optional config file param.