Final Code

reverse(4);
//motorSpeed(4,22);  //308
motorSpeed(4,24); //244
goToAbsolutePosition(250); //244
//goToAbsolutePosition(250); //308
brake(4);
goToAbsolutePosition(467);  // 244
//goToAbsolutePosition(452);  //308
reverse(4);
motorSpeed(4,30);
goFor(1);
reverse(4);
brake(4);
goFor(8);
motorSpeed(4,27);
goFor(2);
motorSpeed(4,22);
//goToAbsolutePosition(720);  //308
goToAbsolutePosition(745);  //244
brake(4);
//goToAbsolutePosition(980);  //308
goToAbsolutePosition(986); //244
reverse(4);
motorSpeed(4,30);
goFor(0.8);
reverse(4);
brake(4);
goFor(6);
reverse(4);
motorSpeed(4,45);
goToAbsolutePosition(780);  //244
//goToAbsolutePosition(790);   //308
brake(4);
goToAbsolutePosition(553);  //244
//goToAbsolutePosition(551); //308
reverse(4);
motorSpeed(4,40);
goFor(1);
reverse(4);
brake(4);
goFor(8);
motorSpeed(4,45);
//goToAbsolutePosition(240); //308
goToAbsolutePosition(300); //244
brake(4);
goToAbsolutePosition(35);
//goToAbsolutePosition(0); //244
reverse(4);
motorSpeed(4,40);
goFor(.8);
reverse(4);
brake(4);
goFor(8);