script improvement