Added search params in external text file, added reset function