adding arg parsing for logging info