add function string.hex to functions.lua