Added some initial stats scripting