Minor updates to the charting and ribbon editing scripts

These changes allow the Charts and EditRibbon scripts to run in the public beta.