Make the mode an option