Switching files using Cognex 5000 series camera

I have a 5000 Series camera that has two programs that run in it. Currently they are too large and slow the camera down too much. What I have to do is manually load the file for what part I am running. My goal if possible would be to have the program needed load automatically depending on which part was running.