Freeze + db script