I have almost no idea about shell scripts or commands in linux

I have a project named `projectx`

`projectX` happens to be in `users/hardik/desktop/projectx`

I have created a shell script `start.sh`. This is the content of shell script

```
echo "Starting typescript build in new terminal.."

osascript -e 'tell application "Terminal" to do script "npm run build"' 

sleep 3

echo "Starting firebase functions...."

osascript -e 'tell application "Terminal" to do script "firebase emulators:start --only functions"'

echo "Process compelete.. Check if there were two terminals window open"

```

now this works but say here

`osascript -e 'tell application "Terminal" to do script "npm run build"'`

it runs that in the root and hence gives the following error

ENOENT: no such file or directory, open `/Users/hardik/package.json`

How can I make it execute in the path which is relative to `start.sh`

Update: I tried this

```
echo "Starting typescript build in new terminal.."
path=`pwd`
osascript -e 'tell application "Terminal" to do script "cd ${path} npm run watch:scss"' 
osascript -e 'tell application "Terminal" to do script "npm run watch"'

echo "Process compelete.. Check if there were two terminals window open"

```

but this didn't work with error `cd: too many arguments`