change startup hook