Hello mega18,
The scripts from 1.0 version of PhotoScan would need to be adapted to fit the latest version of Python API.
If you require assistance with that, post the scripts that need to be fixed (or send them to support@agisoft.com) or just part of them that are raising the errors in the latest Metashape version.