diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 90cd4a23da6abeecabaa38c308bcecba5efd1d3b..d31774a99bb41547e923cd727a9161a86b3b9a55 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -280,14 +280,16 @@ parts:
       cat <<EOF > $AUTOPSY_LOCATION/bin/autopsywrapper.sh
       #!/bin/bash
       mkdir -p \$HOME/tmp
-      # include this line to print all set variables
-      # set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"
       echo Starting Autopsy...
       \$SNAP/autopsy/bin/autopsy
       EOF
 
       chmod 755 $AUTOPSY_LOCATION/bin/autopsywrapper.sh
 
+      # include this line to print all set variables
+      # set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"
+      # sed -i '129 i ' "$AUTOPSY_LOCATION/platform/lib/nbexec"
+
 
   # taken from https://github.com/ubuntu/thunderbird/blob/stable/snapcraft.yaml
   # Find files provided by the base and platform snap and ensure they aren't