Fix to gui/script.lua.