replacing a number of globs()