Updated in-script documentation