Add different function to list installed packages