Add regular expression for script