Edditng Fixes

Fixed some of the sed edit issues