Publication date to keydate migration script, from Alexandros