Trying to get system/reset working. This version is slightly closer. Also added logging, though it isn't configured