interactive: merge myfluxi and crpalmer's code (Thank you to neobuddy89)