use python scripts to manage