If you had stuck to what we originally agreed on, everything would have been fine.
A.lf you had not kept to what was originally agreed on. everything would have been fine.
B.Things went wrong because you violated our original agreement.
C.If you had changed our original agreement, everything would have been fine.
D.As you fulfilled the original contract, things went wrong.