fixes for download system and missing files.