script to hide the duplicated attachment