diff --git a/comment_count_notify.module b/comment_count_notify.module
index 69217e9..21aec24 100755
--- a/comment_count_notify.module
+++ b/comment_count_notify.module
@@ -13,17 +13,17 @@ function comment_count_notify_init() {
  */
 function comment_count_notify_help($path, $arg) {
   global $base_url;
-    switch ($path) {
-      case 'admin/help#comment_count_notify':
-        return t('This module can save you from receiving a notification email' .
-                 ' on every comment post. It would send an email periodically informing' .
-                 ' you about the total number of comments pending for approval.') .'<p>'.
-                 'This module should only be used if you have comment moderation activated.';
-        break;
-      case 'admin/settings/comment_count_notify':
-        return t('Visit the') .'<a href='. $base_url .'/admin/help/comment_count_notify>&nbsp;'. t('help') .
+  switch ($path) {
+    case 'admin/help#comment_count_notify':
+      return t('This module can save you from receiving a notification email' .
+               ' on every comment post. It would send an email periodically informing' .
+               ' you about the total number of comments pending for approval.') .'<p>'.
+               'This module should only be used if you have comment moderation activated.';
+      break;
+    case 'admin/settings/comment_count_notify':
+      return t('Visit the') .'<a href='. $base_url .'/admin/help/comment_count_notify>&nbsp;'. t('help') .
                '</a>&nbsp;'. t('page for available configuration options');
-        break;
+      break;
     }
 }
 
@@ -38,7 +38,7 @@ function comment_count_notify_perm() {
  * Implementation of hook_menu().
  */
 function comment_count_notify_menu() {
-$items = array();
+  $items = array();
   $items['admin/settings/comment_count_notify'] = array
     (
       'title' => 'Comment Count Notify',
@@ -55,7 +55,7 @@ $items = array();
  * The configuration page for CCN.
  */
 function comment_count_notify_settings_page() {
-$form = array();
+  $form = array();
   $form['interval'] = array(
     '#type' => 'select',
     '#title' => t('Send notification after every'),
@@ -94,8 +94,7 @@ $form = array();
     '#required' => 'TRUE',
   );
 
-  $form['#submit'] = array('comment_count_notify_settings_save');
-return system_settings_form($form);
+  return system_settings_form($form);
 }
 
 /**
@@ -104,7 +103,7 @@ return system_settings_form($form);
 function get_count() {
   $sql = db_query("SELECT COUNT(status) AS comment_count FROM {comments} WHERE status=1");
   $comment_count = db_fetch_object($sql);
-return $comment_count->comment_count;
+  return $comment_count->comment_count;
 }
 
 /**
@@ -117,30 +116,30 @@ function comment_count_notify() {
   $ndata['from'] = variable_get('From', t('Comment Count Notifier'));
   $ndata['subject'] = variable_get('Subject', t('Your pending Comment count'));
   $ndata['key'] = 'send_mail';
-send_email($ndata);
+  send_email($ndata);
 }
 
 function send_email($post) {
   global $base_url;
   $to = $post['email'];
-    $subject = $post['subject'];
-    $from = $post['from'];
+  $subject = $post['subject'];
+  $from = $post['from'];
 
-//mail body
-    $body .= '***Please do not reply to this mail***'."\n\n";
-    $body .= 'Dear Admin,'."\n";
-    $body .= 'You have '. get_count() .' comments pending for approval. '."\n";
-    $body .= 'To clear the pending comment approval queue, kindly login at '. $base_url .' with your admin account and clear the comment approval queue at:';
-    $body .= "\n\n". $base_url .'/admin/content/comment/approval';
+  //mail body
+  $body .= '***Please do not reply to this mail***'."\n\n";
+  $body .= 'Dear Admin,'."\n";
+  $body .= 'You have '. get_count() .' comments pending for approval. '."\n";
+  $body .= 'To clear the pending comment approval queue, kindly login at '. $base_url .' with your admin account and clear the comment approval queue at:';
+  $body .= "\n\n". $base_url .'/admin/content/comment/approval';
 
-    $module = "comment_count_notify";
-    $key = $post['key'];
-    $language = language_default();
+  $module = "comment_count_notify";
+  $key = $post['key'];
+  $language = language_default();
 
   global $_paramsg_comment_count_notify_;
-    $_paramsg_comment_count_notify_['body'] = $body;
-    $_paramsg_comment_count_notify_['from'] = $from;
-    $_paramsg_comment_count_notify_['subject'] = $subject;
+  $_paramsg_comment_count_notify_['body'] = $body;
+  $_paramsg_comment_count_notify_['from'] = $from;
+  $_paramsg_comment_count_notify_['subject'] = $subject;
 
   if (drupal_mail($module, $key, $to, $language)) {
   }
@@ -152,43 +151,47 @@ function send_email($post) {
 
 function comment_count_notify_mail($key, &$message, $params) {
   global $_paramsg_comment_count_notify_;
-    switch ($key) {
-      case 'send_mail':
-        $message['from'] = $_paramsg_comment_count_notify_['from'];
-        $message['subject'] = $_paramsg_comment_count_notify_['subject'];
-        $message['body'] = $_paramsg_comment_count_notify_['body'];
+  switch ($key) {
+    case 'send_mail':
+      $message['from'] = $_paramsg_comment_count_notify_['from'];
+      $message['subject'] = $_paramsg_comment_count_notify_['subject'];
+      $message['body'] = $_paramsg_comment_count_notify_['body'];
       break;
-    }
+  }
 }
 
 /**
  * Implementation of hook_cronapi().
  */
 function comment_count_notify_cronapi($op, $job=NULL) {
-    switch ($op) {
-      case 'list':
-        return array(
-           'Send comment count every '. variable_get('Interval', '') .' hours' => 'Send periodic comment count notifications');
-      case 'rule':
-        if ($job=='Send comment count every 0 hours') {
-            return 'Disabled';}
-        if ($job=='Send comment count every 1 hours') {
-            return '0 */1 * * *';}
-        if ($job=='Send comment count every 3 hours') {
-            return '0 */3 * * *';}
-        if ($job=='Send comment count every 6 hours') {
-            return '0 */6 * * *';}
-        if ($job=='Send comment count every 12 hours') {
-            return '0 */12 * * *';}
-        if ($job=='Send comment count every 24 hours') {
-            return '0 */23 * * *';}
-      case 'execute':
-        if ($job == 'Send comment count every 0 hours') {
-        }
-        else {
-            comment_count_notify();
-            }
+  switch ($op) {
+    case 'list':
+      return array(
+         'Send comment count every '. variable_get('Interval', '') .' hours' => 'Send periodic comment count notifications');
+    case 'rule':
+      if ($job=='Send comment count every 0 hours') {
+        return 'Disabled';
+      }
+      if ($job=='Send comment count every 1 hours') {
+        return '0 */1 * * *';
+      }
+      if ($job=='Send comment count every 3 hours') {
+        return '0 */3 * * *';
       }
+      if ($job=='Send comment count every 6 hours') {
+        return '0 */6 * * *';
+      }
+      if ($job=='Send comment count every 12 hours') {
+        return '0 */12 * * *';
+      }
+      if ($job=='Send comment count every 24 hours') {
+        return '0 */23 * * *';
+      }
+    case 'execute':
+      if ($job != 'Send comment count every 0 hours') {
+        comment_count_notify();
+      }
+    }
 }
 
 /**
@@ -197,7 +200,7 @@ function comment_count_notify_cronapi($op, $job=NULL) {
 function getAdminMail() {
   $query = db_query("SELECT mail FROM {users} WHERE uid=1");
   $admin_email = db_fetch_object($query);
-return $admin_email->mail;
+  return $admin_email->mail;
 }
 
 /**
