Fixed end date script