Fix marking scripts as public/private.