Fixed fees and adding flag for logging.