One way to do this is to do your set up, then save a file to the meta dir marking the timestamp and indicator for the set up. Then check for this file each time you start up either in a constructor or DOKUWIKI STARTED function. If you ever need to make changes to the start up material, do so and then update the timestamp and indicator