almost there, adding echo for debug on final copy