Why are you using that? I see your deployment script is really barebones, if you are a beginer I wouldn't recommend that. Try somthing like Apeworx, Hardhat or Foundry.