ucwords now capitalize letters after dashes
parsing page name behind a flag