Updating the x-section script: adding options, new variables, corrected the binning