better casting script