 
         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()
 

        res.send data
      .fail (err) -> res.send(500, err: err)

    port = 3000
    console.log "Starting web server on port #{port}...".green
    app.listen(port)


  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)

