Make agent number as 0 in script validation phase