cleaned script