added button to regenerate url