                 parser.write(body)
                 parser.end();
 
-                # gutil.log(value, multiform[value]) for value of multiform
-
                 multiform['wpTextbox1'] = fs.readFileSync('build-live/Team.html', 'utf8')
 
                 request {
-                    url: 'http://2015.igem.org/Team:Toronto/Team?action=submit',
-                    method: 'POST',
-                    formData: multiform,
-                    jar: jar
+                    url      : 'http://2015.igem.org/Team:Toronto/Team?action=submit'
+                    method   : 'POST'
+                    formData : multiform
+                    jar      : jar
                 }, (err, httpResponse, body) ->
                     if !err and httpResponse.statusCode is 302
-                        # Follow redirects to complete upload
+                        # Follow redirect to new page
                         request {
                             url: httpResponse.headers.location
                             jar: jar

                                gutil.log('Successfully uploaded X')
                                fs.writeFileSync('response.html', body)
                            else
                                gutil.log('err: ', err)
                                gutil.log('status code: ', httpResponse.statusCode)
                    else
                        gutil.log('err: ', err)
                        gutil.log('status code: ', httpResponse.statusCode)
            else
                gutil.log('err: ', err)
                gutil.log('status code: ', httpResponse.statusCode)

            logout(jar)


        gutil.log(stdout)
        gutil.log('done')


handleRequestError = (err, httpResponse) ->
    gutil.log('err: ', err)
    gutil.log('status code: ', httpResponse.statusCode)

LOGIN_URL = 'http://igem.org/Login'
LOGOUT_URL = 'http://igem.org/cgi/Logout.cgi'
# Login and call the callback with the cookie jar
login = (cb) ->
    username = readlineSync.question('Username: ')
