add config file to gitignore
remove config file from git
improve logged error
use write locks when writing and error when can't find date