Fixed some documentation errors. Modified buildAndRunCommand to accept
command line arguments.