first script validation