Modify scripts to be compatible with new abipy version