and made the file executable using chmod +x. Of course, if I try use my script like so: script function_name It finds nothing.