 
         console.log "Wrote data to #{out}".green
 
-  if argv.s or argv.web
+  web = argv.s or argv.web
+  if web
     express = require('express')
     app = express()
 

  .describe('o', 'Write data to JSON file. Usage: "-o data.json"')
  .alias('t', 'table')
  .describe('t', 'Output results as CLI table')

argv = optimist.argv



  console.log "Using books.yml with #{books.books.length} ISBNs".grey

  table = argv.t or argv.table
  if table
    output = require('./src/tableOutput')
    output retrieve(books.books)

