add config files and patches