add widths/heights to captures, rename index