addded polling script for test