 # @param [Number] res the resolution code of the image to get
 #
 buildUrl = (apiKey, id, res) ->
-  'https://pixabay.com/api/?key=' \
-    + user.apiKey \
+  "https://pixabay.com/api/?key=#{user.apiKey}" \
     + (if res > 1 then '&response_group=high_resolution' else '') \
-    + '&id=' \
-    + id
-
-    
-# Checks whether or not a resolution code is valid.
+    + "&id=#{id}"
+
+    
+# Checks whether or not a human-readable resolution name is valid.
 #
 # @param [Number] res the resolution code to check.
 #

  
  persistConfig() # Update configuration file.
  
  log.info 'Added image with ID \'' \
    + image.id \
    + '\' as asset.'
  
  install() # Freshly install all images.
     

# @param [Object] error any error returned with the response
# @param [Object] body the body of the response
#
isSuccessful = (error, body) ->
  !error \
  && body \
  && body.hits \
