the script works fine now without directors and casts table field