Updated documentation and script