Script compile work