set up script generator