By "directory it was called from" you seem to mean its working directory. You can change this inside the script using e.g., cd, but before you do so, pwd will print it out. It'll also likely be in the variable $PWD

If you'll need the initial working directory after changing it, just save it at the top of your script (before changing it)