Modified to export bash script for importing to DayOne