added sleep to script to prevent high CPU usage