removing useless scripts