Other items inorigen
pub fn clean_mode(name: &str) -> String
Sanitizes the given mode string and returns it, but will exit the process if it is invalid