Removing useless or trivial scripts