replaced old search with new php search; fixes #46