Add option to return string globvar