added output of version; allow unexpected arguments