added search buttons to directory