edited globs and python functions