Credits to @hobson for setup fixes.