Added search without flags. Stops crashing if you don't supply anything