diff --git a/securepages_prevent_hijack.install b/securepages_prevent_hijack.install
index dc7b272..54de9e6 100644
--- a/securepages_prevent_hijack.install
+++ b/securepages_prevent_hijack.install
@@ -55,3 +55,28 @@ function securepages_prevent_hijack_requirements($phase) {
 
   return $requirements;
 }
+
+/**
+ * Implementation of hook_install().
+ */
+function securepages_prevent_hijack_install() {
+  db_query("UPDATE {system} SET weight = -10 WHERE name = 'securepage_prevent_hijack'");
+}
+
+/**
+ * Implementation of hook_update_N() for 6001.
+ */
+function securepages_prevent_hijack_update_6001() {
+  $ret = array();
+
+  $ret[] = update_sql("UPDATE {system} SET weight = -10 WHERE name = 'securepage_prevent_hijack'");
+
+  return $ret;
+}
+
+/**
+ * Implementation of hook_uninstall().
+ */
+function securepages_prevent_hijack_uninstall() {
+  // Stub function. Do nothing.
+}
