Added recursive selecting of contents