Changed the way the program fetches application paths