Changed a default value.
also Changed 'timeout' to be 'refreshperiod'