script cleaned