work on pkg_tools support