add script for cast