sge script cleanup