Use config file for both php and bash scripts

My bad. BASH does not understand the \w, that is a PERL style modifier which I used as you’d used the preg PHP function. :slight_smile: