change pattern path to folder in config.py