Commands aren't awaiting in the raw

Hi guys,
I’m finally connected to the robot remotely. Now my problem is that when I send several waypoints to the robot, they don’t wait for previous one to be finished and robot just starts shaking. Script only works if I write sleep command in between. Is there any way to make one command wait for previous one without adding “Sleep” command? As it’s highly time consuming and to count how much time does it take to go from A to B is very tricky.
Example:
movel(p[-.175960158731,-.607097011642,.092085720575,1.211773785237,-1.215813111962,1.113066003432], a=1, v=0.25)
movel(p[.463066737535,-.707228001925,-.674048862554,1.213724216694,-1.219679326768,1.136355954087], a=1, v=0.25)
movel(p[-.175960158731,-.607097011642,.092085720575,1.211773785237,-1.215813111962,1.113066003432], a=1, v=0.25)

Script only works if I write sleep command in between.
Example
movel(p[-.175960158731,-.607097011642,.092085720575,1.211773785237,-1.215813111962,1.113066003432], a=1, v=0.25)
sleep(4)
movel(p[.463066737535,-.707228001925,-.674048862554,1.213724216694,-1.219679326768,1.136355954087], a=1, v=0.25)
sleep(4)
movel(p[-.175960158731,-.607097011642,.092085720575,1.211773785237,-1.215813111962,1.113066003432], a=1, v=0.25)
sleep(4)

Is there a reason you need to send them separately and not in one command?

Thanks for response,
If I send for example 3 waypoints together, robot just starts shaking not moving to waypoints. That’s why I just have to send separately. Otherwise for me it’s better to send all the commands together.