Added recursive option