Merge pull request #4 from rplessl/master

fixing init scripts after testing on customer site
make extra sure to not add duplicate records to matching database