maybe working srm copy script