You could probably edit the code but it's simpler to rotate the object after it's created.