Few options worth looking into
Maf (simple test unplug it)
Rubber boot intakes(remove both check for hairline cracks)
Cdv(take it out its garbage)
Vanos seals(if bad engine will bog down at low revs) they are a must on an m54 usually fail at 60k