Config file, remove unused code