           when 'install' then install() # Install assets.
           when 'add' then add process.argv # Add asset.
           when 'remove' then remove process.argv # Remove asset.
-          when 'test' then idToHashId '195893', (err, id) -> console.log id
+          when 'test' then deriveHashId '195893', (err, id) -> console.log id
       else
         # Workspace needs setting up first.
         log.error "Couldn't load workspace for above reason. Terminating."

#
# @param [String] apiKey the API key to use for the request
# @param [Number] id the ID of the image to get information for
# @param [Number] resolution the resolution code of the image to get
#
buildUrl = (apiKey, id, resolution) ->
  code = humanResolutionToCode resolution

  request options, callback


# Derives a search term to feed back in to the API from a hit.
#
# @param [Object] hit the hit to derive the search term for
