backport to toutpt_project skel