Help regarding directory from which flatpak is launched

I am trying to package a application which need to operate in directory from which it is launched but flatpak always launch it from my home directory for example:

Here is source code of my Application

#!/usr/bin/env bash

echo "Current working directory: "
pwd

I want flatpak to print my current directory using above code but flatpak always print my $HOME directory. I want flatpak to be executed from my current directory.

here is my yml file I am using to build flatpak.

app-id: org.pwd.demo
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: demo.sh
modules:
  - name: demo
    buildsystem: simple
    build-commands:
      - install -D demo.sh /app/bin/demo.sh
    sources:
      - type: file
        path: demo.sh

image

@admins can anyone help?