Tweaks to localsearch