Add "IF NOT EXISTS" to creation queries