Running the application under batch mode: