binary stl functionality & cleaning up the conversion script