Renamed temporary folder-related functions and variables for clarity. Enhanced checks for storage and working directory space requirements. Added fallback mechanisms and improved error handling for user-defined directories. Clarified the help description for the --temp-dir argument to highlight it uses a random temporary folder by default. This improves usability by making the default behavior more explicit to the user.