+1 confirmed script runs perfectly fine even with my newer laptop, this problem is isolated to your hardware or environment.