removes debugging from kpccapi script