Update sh_functions.lua