Added debug, cleaned up config files.