python scripts interface