Fix some procedure init scripts.