Fixed parsing of multiple arguments to console

Using apply