add modeline
allow origin to be set and bound from outside