Update script to check for existing posts with the same ID
Only accept 0 value to avoid errors
Only accept when count is 0 not 1
Remove db close since DB managed by external lib
Check for non-required keys before adding them
Merge pull request #1 from Keithbsmiley/master

Don't duplicate posts