Changing "raw" option to "debug"
Adding functions provided by dteach.