I changed the delay after movement from 30 to 50
I added a 10ms delay after every command to spare the CPU