Added regenerate route button to preview