diff --git a/.gitignore b/.gitignore
index 0aa3555..b6f034c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/data
/database.db
+/html/database.db
/html/pbs.json
diff --git a/export_db.sh b/export_db.sh
new file mode 100755
index 0000000..31972b7
--- /dev/null
+++ b/export_db.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+rm html/database.db
+sqlite3 database.db '.dump pbs_drug pbs_prescriber_type pbs_streamlined' | sqlite3 html/database.db
diff --git a/export_json.py b/export_json.py
deleted file mode 100644
index 66d5a6a..0000000
--- a/export_json.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright © 2023 Lee Yingtong Li (RunasSudo)
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-
-import json
-import sqlite3
-
-con = sqlite3.connect('database.db')
-cur = con.cursor()
-
-results = []
-
-cur.execute('SELECT item_code, mp_pt, tpuu_or_mpp_pt, restriction_flag, mq, repeats, streamlined_authorities FROM pbs')
-for item_code, mp_pt, tpuu_or_mpp_pt, restriction_flag, mq, repeats, streamlined_authorities in cur.fetchall():
- results.append(dict(item_code=item_code, mp_pt=mp_pt, tpuu_or_mpp_pt=tpuu_or_mpp_pt, restriction_flag=restriction_flag, mq=mq, repeats=repeats, streamlined_authorities=streamlined_authorities))
-
-with open('html/pbs.json', 'w') as f:
- json.dump(results, f)
diff --git a/html/index.html b/html/index.html
index c3eb9e3..ef67377 100644
--- a/html/index.html
+++ b/html/index.html
@@ -57,51 +57,41 @@
+