added a way to manage multiple apps in an ordered way