Accelerometer problem (561158)

i am using the following code to move the cube on the accelerometer :

transform.Translate(Input.acceleration.x, 0, -Input.acceleration.z);

how i rotate the cube with the accelerometer.

Swap .Translate with .Rotate

i fixed the orientation and if someone need this is the code

#pragmastrict

functionUpdate ()
{
transform.Rotate(0, Input.acceleration.x,0);
transform.Translate(Input.acceleration.x, 0, -Input.acceleration.z);
}