added basic error logfile for debugging help