Updated shared.lua