Add check if URLs are defined