modified regex in script