added arguments to daily_plot.R