modified scripts for lhe upload and powheg