make regexps non-greedy; fix name of script