Fixed duplicate id
Added --version option