sleep.sh optimized