working on scripting the hud