change to new datepicker script