Modified import.sql and fixed deletion