added option to toggle RTS write