making change in install script to take regerx