         recipients.push -> callback(recipients)
         daisy recipients
   
-  @grant =(selector, quota, callback)->
+  @grant =(selector, quota, options, callback)->
+    [callback, options] = [options, callback] unless callback
     unless quota > 0
       callback new KodingError "Quota must be positive."
     else
       batch = []
       i = 0
       console.log arguments
-      JAccount.all selector, (err, accounts)->
+      JAccount.all selector, options, (err, accounts)->
         accounts.forEach (account)->
           batch.push ->
             account.fetchLimit 'invite', (err, limit)->

            .createHmac('sha1', 'kodingsecret')
            .update(email)
            .digest('hex')
          # console.log email, code
          recipients.push ->
            invite = new JInvitation {
              code

        
  
  @__createBetaInvites =do ->
    # betaTestersEmails = 'chris123412341234@jraphical.com'
    # betaTestersEmails = fs.readFileSync('./invitee-emails.txt', 'utf-8')
    #betaTestersEmails = 'chris123123@jraphical.com'
    (callback)->
