modified ruconfigure