Added searchfunctions and autoread