added SHELL variable to support shell expansion.
escaped & character to \& to fix sed errors.