steppermotor only few steps

void loop() 
{
  if (digitalRead(relpin)==HIGH)
  running = true;
    if (running == true)
    {

I've changed the !running to true, but still nothing.

Is the rest of my code ok?

Thanks!