more script compile work