Make script run every 10 seconds.