Changes to support CF deploys.

Signed-off-by: Nikhil Gajwani <ngajwani@pivotallabs.com>