Hi, I recently ran the clean up datasets script to free up some storage space and this resulted in some of the active library datasets being purged from disk. This library was loaded from an external file path. When I wanted to add more files to galaxy from the same path it was easier to load the whole directory again and delete the duplicated files. I'm assuming that the cleanup script looks at these deleted datasets and purges the file they are associated with even though another current dataset also links to this file. Is there a way to check if a file is referenced by another dataset before purging or to prohibit the script from deleting files out with the default galaxy file directory? If I leave out the purge_libraries script will this stop library datasets from being removed or only deleted libraries as a whole? Thanks for your help Shaun -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.