Added ability for multiple loaded programs in future