On the Chart Data Scripts page, there is a video that shows all the steps that one needs to do, in order to have a fully functioning script.