added support for command line arguments to run the app with additional options