Added date stamp to log files.
Fixed database path.