Hi Jonas,
Fragment Bookmarks and Portable Fragment Bookmarks are definitely the way to go to avoid invalidation of bookmarks on application updates. As far as script maintenance goes, you should keep the scripts in Global Script Functions instead of maintaining them inside the fragments, as explained in the following blog: Design Studio 1.4: Portable Fragment Bookmarks & Reuse in Applications
Regards,
Mustafa.