./highlighterpdf does not work

I have this Yaml for my program:

name: highlighterpdf
title: HighlighterPdf
version: 1.0.2
summary: Highiight the text in a Pdf.
description:
        HighlighterPdf  is a free and open source software application that you can use to 
        highlight text in your pdf document. You can select text in a colour of your choice        
        and then save it.
base: core18

confinement: devmode

apps:
 highlighterpdf:
   extensions: [gnome-3-28]
   command: ./highlighterpdf.sh
   environment:
         JAVA_HOME: $SNAP/usr/lib/jvm/java-11-openjdk-amd64
         PATH: $JAVA_HOME/bin:$PATH
   
parts:
  highlighterpdf:
       source: https://github.com/gerry136/highligherpdf.git
       plugin: dump
       
       build-packages:
           - unzip
           - openjdk-11-jdk

When I try to use snapcraft on it it comes back with the error:

“Failed to generate snap metadata: The specified command ‘highlighterpdf.sh’ defined in the app ‘highlighterpdf’ is not executable.”

But I have changed the permissions with chmod and when I apply the command directly to the shell file it works?

try changing to:

command: $SNAP/highlighterpdf.sh

No its still the same but thanks for the advice

found the reason it was a typo.

Thank you everyone who gave me help.

Gerry