Added functionality for listing programs