Removing useless scripts