fix bug in find script due to .sh changes