changed clear script