setup the validate script