Initialize options in sample code properly

by using option names instead of numerical value.