using 'egrep' instead of 'grep', decreasing sleep time to 10 secs