2007 KIA Rondo 2.7 L. engine

I replaced the A/C compressor on my KIA Rondo, and it now cools well enough, but the compressor does not cycle on/off. I did replace the dessicant, but not the expansion valve. The engine light has been on for some time now, even before the compressor swap. The previous compressor froze up. What should I do?