adding chart package to inject script