how would you setup a script so it can use the global stats. what would i put in my script?