Changed a lot

Run search multiple times
Order inputs
etc.