Make the script to remove tmp plugins safer and more talkative