Change node ID to start 0.
Added new output formats