Renamed 'regex' object to 'scripts' to work with rest of block