script page for casting