static script fix