make script shortes as posible