script now supports passing arguments through to java process