Easy switching between worker and non-worker version