Before deleting final part of do file