I suppose you have configured the in bound rule.To avoid unwanted looping ,your script should not be executed for copied content. Copied content has specific aspect ,for which you can add condition in your script so that your script will not execute for copied content.