Fixed effortGenerator.  It now assigns DS value correctly.