I am trying to write a persistent dock LaunchAgent. The LaunchAgent works great if you reboot - deletes all the items on the dock and puts back the ones that need to be there. However just logging out of the account and logging back in doesn't fix the dock, a reboot is needed. I tried unloading the LaunchAgent and logging back out and back into the account and still nothing. Any ideas?