Slim down script.