changes for py scripts