Fixed publication image table name
Added publication_contacts table to sql