added console logging and fixed typos in the config file