add script

see the changes