Update Java Service Wrapper script to be able to run multiple instances of the application.