added necessary codes for globs.js in order to made functional the template
dosql
for merge conflict