Fixed bug with DOY plot image adding. Closes #40