Add if statement to resume link