Bugfix in main.  Moveing towards work_pool in index.