added config for poll interval