script generator test