Saving rectangles as well