adds reading config yaml and changing erb file with config