add ability to specify default app, pass querystring to apps