remove the directory and activate the new settings