Make a copy of sh instead of dereferencing. Shells may behave differently if renamed