added features to create directories if they don't exist. Template is copied for a new day.