Merge script parser with main, histo, bug...