worker script fix