I'm glad it's running but I would still check a few things on the engine. For one, on a fuel injected engine turning up the idle screw changes the setting for the throttle position sensor. These are usually set using a volt meter and a service manual as idle is electronically controlled, not mechanically. I would check to make sure that the engine is running on all cylinders, meaning you have both spark and fuel on all 6. Check compression too. For an electronically controlled engine to suddenly need a change of settings to run sends up a red flag. I've seen many Mercs drop a cylinder or two making them difficult to run and hold an idle. Sometimes it would be as simple as needing a new ignition coil, other times needing a new piston.