added option for conversion to s expressions