rename secret config file, add debug config flag