added -e to sed expressions