Removed handling of resources in index script, using resource delivery
filter implemented in K2 instead.