Script now adds the wildcard in front of the extension.  User now just needs to enter -extension tmp rather than -extension *.tmp.