added rewrites for direct download links