added if statement to check link
Merge remote-tracking branch 'origin/master'