Adds searchListings/searchInventory function