Actually loop through the applications
Make use of cache here