Fixed regex for script filename