add scripts as following
rewrite google { s@(google.com/search.*q=.*)@\1\&safe=active@i s@(google.com/images.*q=.*)@\1\&safe=active@i s@(google.com/groups.*q=.*)@\1\&safe=active@i s@(google.com/news.*q=.*)@\1\&safe=active@i s@(google.com/webhp.*)@\1\&safe=active@i s@(google.com/.*q=.*)@\1\&safe=active@i