Fixed condition @ 30

You left "or" without function. Because of that script did not work.