first version of configure.rb