updated documentation and scripts