Added support for globs