Python based makee reduction script