Improved documentation and Shell scripts