adding polling script