On my Pi 4 if I start Purr Data from command line with:

/usr/lib/pd-l2ork/bin/pd-l2ork

everything is fine with my preferences as I last saved them, but if I use the following systemd service to start Purr Data the prefs are always defaulted to scratch settings. Why is this the case and what might be the solution?

[Unit]
Description=Start Pd
Wants=graphical.target
After=graphical.target

[Service]
Environment=Display=:0
Environment=XAUTHORITY=/home/pi/.Xauthority
ExecStart=/usr/lib/pd-l2ork/bin/pd-l2ork
Restart=on-abort

[Install]
WantedBy=graphical.target