Make debug function dynamic
Detect when Jack is on the stairs (not wired up yet)