more work breaking apart python scripts