Fixing formating
Remove unused import
Fix the is downloaded function