script for removing redundant uploads