Octavised.
Added new first argument to write component type to cr in ese file.