standardized directory setup and cleanup. reduced duplication of dl filenames/