Adding restify back in
Fixing misnamed vars