Corrected cp script