Localised variables in spawn.lua