Change the config files and database