added regex script