How do we add "daily" to this? I keep getting error messages
You did not provide enough information to say where you went astray.
This script defaults to daily, so there is nothing to add or to do.
If you are still getting error messages, it is important to detail what steps you took to get the error messages and to provide a screen grab of the chart and messages.