edited globs.js for template