cgiurl now needs to be set to get edit links