Added command execution logging, ability to check what mode
write bug fixed
Fixed logfile handling