add support for index, scripting & lightbox