improved stability of scrap03 (search script)