lodge updates and app generation fixes