adding a script for sound generation