Move variable to top of ClientCommand function