make sample.rb functional with dummy UserConfig