Changed DeploySchema function to use Execf instead of LoadFile