Help please - total newbie to this.

Help please - total newbie to this. A hobbyist woodworker really but wanted to try some laser engraving so went in proper low end with elekslaser a3 pro. Curreny only have a mac, which pisses me off all the time, so had to install some usb chipsets and the latest gbrl using arduino. Long story short have got it connected to laserweb and works brilliantly - apart from the laser keeps cutting between shapes i.e. when moving from one cut area to the next i get a nice perfect line.

What am i doing wrong?? Any help really appreciated thanks

solved it! variables needed correcting