add _daemon, switch pnk_id to pnk_dir