adjusted to app using publicver and publicroot
cleaning up