Where you're going to have a bend, dip that area in boiling water for a short while, enough to make it very pliable. As quickly as possible, take the hot strip to the frame and fit it, try to hold it into the frame while it 'sets' and it should keep the bend more easily.
I use 'the wife' to fetch a washing up bowl of boiling water straight out the kettle!