Set links on opening