Added "IF NOT EXISTS" to table phploc