Updated database script

Now automatically imports to MySQL after creating the prefixed tables.