add scripts for charts