Added script to log output of copy command