Added a -r to the cp exec resource command.