add hook for startup to be used from extras