- Added fix for the downloads to be deleted when failing to avoid inconsitent files.
- Fixed issue with the project not finding the R generated class.