reformat tab to space and add drop proc statement