adding generate_formatted_histos.py