Added code to enable skipping certain urls with specific segments .