Added in puts lines to log output