* add config options to replace parts of urls and change their weight * improve config-default.toml comments * refactor checking/replacing a bit