diff --git a/recent_comments.module b/recent_comments.module
--- a/recent_comments.module
+++ b/recent_comments.module
@@ -2,51 +2,32 @@
 // $Id: recent_comments.module,v 1.4.2.1 2010/01/18 22:20:16 toddnienkerk Exp $
 
 /**
- * Implementation of hook_menu()
- */
-function recent_comments_menu() {
-  $items = array();
-  
-  $items['admin/settings/recent_comments'] = array(
-    'title' => 'Recent Comments',
-    'page callback' => 'drupal_get_form',
-    'page arguments' => array('recent_comments_settings'),
-    'type' => MENU_NORMAL_ITEM,
-    'access arguments' => array('administer recent_comments'),
-  );
-  
-  return $items;
-}
-
-
-/**
- * Implementation of hook_perm().
- */
-function recent_comments_perm() {
-  return array('administer recent_comments');
-}
-
-
-/**
  * Implementation of hook_block().
  */
 function recent_comments_block($op = 'list', $delta = 0, $edit = array()) {
-  if ($op == 'list') {
-    $block[0]['info'] = t('Recent comments (Recent Comments module)');
-    return $block;
-  }
-  else if ($op == 'view' && user_access('access comments')) {
-    $block['subject'] = t('Recent comments');
-    $block['content'] = _recent_comments_getcontent(variable_get('recent_comments_num', 10));
-    return $block;
-  }
+  switch($op) {
+    case 'list':
+      $block[0]['info'] = t('Recent comments (Recent Comments module)');
+      return $block;
+    case 'view':
+      if (user_access('access comments')) {
+        $block['subject'] = t('Recent comments');
+        $block['content'] = _recent_comments_getcontent(variable_get('recent_comments_num', 10));
+        return $block;
+      }
+      break;
+    case 'configure':
+      return _recent_comments_settings();
+    case 'save':
+      variable_set('recent_comments_num', $edit['recent_comments_num']);
+      variable_set('recent_comments_nodetypes', $edit['recent_comments_nodetypes']);
+      variable_set('recent_comments_options', $edit['recent_comments_options']);
+      break;
+  }  
 }
 
 
-/**
- * Implementation of hook_settings().
- */
-function recent_comments_settings() {
+function _recent_comments_settings() {
   $form = array();
 
   $form['recent_comments_num'] = array(
@@ -77,7 +58,7 @@
   );
   
 
-  return system_settings_form($form);
+  return $form;
 }
 
 
