Set Up Logging and Slight Change to Config Handler