update cpc.rb values to use config