add removeApp (prior) to rebuildApp