build script
Option functions and Pair structure