Adding script using dump plugin

Hello! I’m adding a script to my snap. I did it like this:

name: <snapname>
    plugin: dump
    source-type: local
    source: ..
      '<scriptname>': usr/bin/<scriptname>

    command: usr/bin/<scriptname>

this seems to work, but the script then is named "<snapname>.<partname>", and it works properly. Is this normal? Isn’t it possible to just name the command "<scriptname>"? I would like the user to be able to run the script with a shorter name <scriptname>, instead of a longer "<snapname>.<partname>".

Please enclose your snapcraft yaml content with triple backticks, as shown in the fenced code blocks section in the GitHub Flavored Markdown specification.