script access flags corrected