add script for frechet demo