sorry, renamed 'regex' to 'scripts' in second occurrence as well