Added documentation to script methods