Added option flags for handling fractions