Script engine cache compiled scripts