Tweak import.php

Add option to drop + recreate DB on import

Replace deprecated syntax