Make option of string type by default and add a flag for boolean option