Fixed str_contains

Also started working on search mode