Standalone KWin Wayland Session - Missing Taskbar (Minimization applications, Grouping)

I’ve successfully created a standalone KWin Wayland session based on the below setup.

The session launches and functions well,But I have two issues with the taskbar:

  1. Minimized applications are not visible in the taskbar.
  2. The “+” icon, which typically indicates multiple instances of the same application, is not displayed above running applications.

I’ve found a temporary workaround by running /usr/bin/dbus-launch /usr/bin/plasmashell --replace after the session starts:

This works,but it suggests a problem with how Plasmashell isn’t being launched in my session script correctly, even though the bar is there along with the applications that are launchable.

any suggestions how to lunch Plasmashell with all the functionality with a bash script would be helpful.

systemd service
[Unit]
Description=auto login wayland session
After=multi-user.target

[Service]
User=$USER
export QT_QPA_PLATFORM=xcb
LANG=en_GB.UTF-8
export KDE_FULL_SESSION=true
export XDG_CURRENT_DESKTOP=KDE
PAMName=login
Environment=XDG_SESSION_TYPE=wayland
TTYPath=/dev/tty8
StandardInput=tty
UnsetEnvironment=TERM

UtmpIdentifier=tty8
UtmpMode=user

StandardOutput=journal
ExecStartPre=/usr/bin/chvt 8
ExecStart=/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/script.sh
Restart=always

[Install]
WantedBy=multi-user.target

script.sh file reads

XDG_MENU_PREFIX=plasma- &
/usr/lib/org_kde_powerdevil &
/usr/bin/kwin_wayland_wrapper --xwayland &
/usr/bin/plasmashell --no-respawn