Added arguments and reading from stdin