red-brick: Don't execute script twice after first upload