Changing "include" by "require".
Completed search function.