Adding script to calculate input luminosities