Fixed bug in parse script.