Fixed bug where the program check was not being executed.