Fixed few bugs, new private function download