Added url detection for resource dependencies