Fixed sh script to recreate db.