added support to delete and reassign programs.