updated python scripts