Automate copying defined options
Merge pull request #1 from pjxiao/master

Automate copying defined options