Securesite integration is actually unnecessary.
Prepare the applications directory on PDF save, not as an update hook.