removing unused process.argv.splice(2)

process.argv.splice(2) was mutating the argv array meaning command line params were disappearing