CPU counter script