Improved get_all_applications functionality