added script to calculate integrated luminosities