using ostruct instead of hash
fixed issue with ARGV in option_parser