more script compiler work