corrected flags options and names