script running precedence