get configuration from README, basically working, may need some tuning