Support for specifying application from cmd-line

See help (-h) for more information about -a option