types here are defined to use script so its ok here