small tweaks to find script