Updated python scripts from master.