Fixed setting of name and path of smartcard, now determining on number
of valid arguments.