minor updates added --working-copy option