Add support for --app-url option