Improved script documentation