add swig option