script to run validate-program