cleanup & compact script add