script to generate worker configs