Initial lightbox rewrite