boot-button code (this should have been a branch)