Was the battery disconnected? There has to be a diagnostic fault code if the Check Engine light turned on. Disconnecting the battery would erase it. You can also read the codes by cycling the ignition switch three times from "off" to "run" within five seconds without cranking the engine. Watch the numbers show up in the odometer display.