Add program validation check