updated config and implemented M0/M1 with a single button.