add -i switch to sed command