add process.argv handler