 
 casper.thenOpen DASHBOARD, getTotalPoints = -> # get the number of unused points on the account
   totalPoints = @getElementInfo('#user-status .user-balance .data-value-text').text
+  @echo "You earned #{totalPoints - startingPoints} points."
   @echo "You currently have #{totalPoints} points on this account."
 
 casper.run ->

    return @getCurrentUrl() != url

casper.thenOpen DASHBOARD, openDashboard = ->
  [offers, ARGS[2], fb] = @evaluate (examineDashboard = (offers, queryCount, fb) ->
    for e in document.querySelectorAll 'ul.row li a div.check-wrapper div.open-check'
      elem = e.parentNode.parentNode

words = require('libs/Words/GenerateWord')
casper = hexBot.createCasper()
DASHBOARD = 'http://www.bing.com/rewards/dashboard'
offers = []; executed = 0; fb = false; startingPoints = 0

argData = [{name:'email'}, {name:'password'}, {name:'queryCount',default:0},
           {name:'minTime',default:20}, {name:'maxTime',default:40}]
