fixing scripts

Fixed script
@cberzan