diff --git a/flatfish.module b/flatfish.module
index 5e0e721..1114f4d 100644
--- a/flatfish.module
+++ b/flatfish.module
@@ -62,11 +62,11 @@ function flatfish_default_flatfish_config() {
   $schema = Spyc::YAMLLoad($base . '/schema.yml');
 
   if (!file_exists($base . '/config.yml')) {
-    dpm("The config.yml file is required.  Cannot find it at {$base}/config.yml.", NULL, 'error');
+    drupal_set_message("The config.yml file is required.  Cannot find it at {$base}/config.yml.", 'error');
     return '';
   }
   if (!isset($settings['types'])) {
-    dpm("It does not look like your config.yml file has the correct syntax.", NULL, 'error');
+    drupal_set_message("It does not look like your config.yml file has the correct syntax.", 'error');
     return '';
   }
 
