Encapsulated commands.
Added day to log messages.