simple cert date script