Added cloudfoundry /tmp/staged directory support as opposed to /app