updated local file
improved regex, fixed wrong url default