How to use UNIX Command Substitution in a Global Variable