added the daily view to the bash script