Replacement for cps.dll