a script for generate today's diary