fixed the debug_log function, corrected inconsistency in README setup instructions