Amended PullFandVContractData script to include some fixes