python script kind of finished