Added doc script.
Fixed naming problem.