updated earliest_start_date script
fixed bug in earliest start date script