REV: Added private function __cp_static and absolute path check.