fix bugs in install-sagecell script