add copyToRefactory script