Integration with Pythia