Fixed issues where it wouldn't download remote files