Added logging to all commands