updated add script, adds date and time to front matter