Could we export this to an external var, and update only `action` to `disable/enable`?