Replaced the integer values in the options structure with the enum constants for better readability