Now everything works out of the box. Just run the app and pass all required parameters it will take care of everything correctly.