apply date ranges with plugin
improve speed
set initial date ranges