allow 1 argument substitute() to use local/global variables