updated to use java style config options in mojo