add cms and update scripts