fixing yaml parsing and modifying date selection for variable named date cols (date, date_,marketdate, etc)