Change system_reset() command arg 'type' to 'mode' for cleaner Python code