inject $app into command proxies