Extended changes to get_sed, and factored out duplicate code
Updated changelog