Added code to fall back when URL cannot be opened for one reason or another