Added a configuration setting for the filetype detection script.
Added code to allow Donkey to be run without CAS.