First working version.. needs main & doesn't run on change, why?