Fix shell code from init for renamed subs