Cleaned up code and added an image for right URL type