Made some changes to init scripts.