added copy rep script