Solves issue in clean_temp_folder

Changes to solve issue in command clean_temp_folder deletes the archive and data/temp folder.