Call using blender -b --python blend.py.