Merging app info grabbing code