Fixing download script