add script to generate