Adding documentation to control chart script