Changing hooks and index page