redo function imports, search was broken on prod