make sure we build the DB
make the ws var local to the worker