Instead of abusing swapProgramIn, just add a Module argument to