Use process.argv instead of process.env

Because, othere options are set through process.argv