updated documentation
updated generated script to correct several issues; also udpated README file to reflect new capabilities