Write opt design to csv