Updated documentation and shel scripts.