Upgraded chart scripts and added enhanced class so that options may be set.