After a weekend of hair pulling, I'm all out of ideas on what parameters to change to get this to work.