fix a bug: still creating unnecessary gabarge file. Struggling with operating sed.