Cleaned up python scripts