added updated shared files from hfsp-internal