added rewrites for direct download links

added rewrites for direct download links