add pollAndWork.sh file