Added configuration option to output AMF or STL files based on the initial output.