Render using swift via script

Hey everybody!

I cant seem to figure this one out.. I need to render a couple of different scenes using swift. I got everything working except the swift part. I can save the files as jpg or such. But i need them to be saved as .swft.

Do you guys know how to render with swift via script? I appriciate any help i can get.