Please make sure the condition is aligned on both script, as @crdlc said!