Update of script.globalsearch, bugfixing etc.