Allow user to set nworkers in query_lsd.py