fix installing dependencies and downloading data